HackerRank bitwise solution

visit shbcf.ru